package com.wwdx.model.dto;

import com.wwdx.utils.excel.ExcelCell;
import lombok.Data;
import me.chanjar.weixin.common.util.ToStringUtils;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author liguoliang
 * @date 2018-04-13
 */
@Data
public class PersonalDTO implements Serializable{

    @ExcelCell(index = 1)
    private Long userid;
    @ExcelCell(index = 2)
    private String nickname;
    @ExcelCell(index = 4)
    private String channel;
    private Integer sex;
    
    @ExcelCell(index = 5)
    private String phone;
    @ExcelCell(index = 6)
    private Date gmt_created;
    @ExcelCell(index = 7)
    private Date gmt_modified;
    /**
     * 会员邀请人数
     */
    @ExcelCell(index = 8)
    private Integer inviteNum;
    /**
     * 是否为VIP
     */
    @ExcelCell(index = 9)
    private String isVip;
    @ExcelCell(index = 10)
    private String expireTime;
    @ExcelCell(index = 11)
    private BigDecimal total;
    private String headimgurl;
    private String unionid;

    private String valid;
    private String msgid;

    @Override
    public String toString() {
        return ToStringUtils.toSimpleString(this);
    }
}